package mornd.test8;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author: mornd
 * @dateTime: 2023/5/8 - 18:36
 * 通过 ControllerAdvice， 如果控制器方法返回User类型，则主动将它包装成Result类型
 */
@SpringBootApplication
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
